<?php

require_once "core/application/models/mgmshop/mgmshop17.php";

class Mgmshop18 extends Mgmshop17 {
	private $_query;
	private $_fetch = array();
	
	    protected function issetRecord($id) {
	DB::getInstance()->openConnectionToGS();
        $this->_query = "SELECT `id` FROM `personal_gmshop_items` WHERE `id` = '$id'";
        if (mysql_num_rows(DB::getInstance()->sql($this->_query))) {
            return true;
            DB::getInstance()->closeConnection();
            unset($this->_query);
        } else {
            return false;
            DB::getInstance()->closeConnection();
            unset($this->_query);
        }
    }
}

?>